//
//  CommentViewController.h
//  Growth
//
//  Created by Hobo.Chen on 12/30/11.
//  Copyright 2011 MEETStudio. All rights reserved.
//
/*
 评论
 */
#import <UIKit/UIKit.h>

#import "commentCell.h"

@protocol commentViewControllerDelegate;

@interface CommentViewController : UIViewController<UITableViewDelegate,
UITableViewDataSource,
commentCellViewControllerDelegate> {
	UITableView *tableView;
	
	NSMutableArray *commentArray;
    
    NSString *CommentType;
    
   
	
}

@property (assign) id<commentViewControllerDelegate> delegate; 

@property (nonatomic, retain) IBOutlet UITableView *tableView;
@property(nonatomic,retain) NSMutableArray *commentArray;
@property(nonatomic,retain) NSString *CommentType;


-(void)toIconUser:(id)sender;

- (id)initWithPost:(NSArray *)array;

- (IBAction)toUserView:(id)sender;

@end


//Delegate
@protocol commentViewControllerDelegate <NSObject>
@optional 

- (IBAction)toUserView:(id)sender;
-(void)addCommentAction:(id)sender;
-(void)setCommentPrama:(int)_superId commentTo:(int)_commentTo;

@end


